home *** CD-ROM | disk | FTP | other *** search
/ Ultra Pack / UltraComputing Partner Applications.iso / WWW / cameleo.run.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1996-06-10  |  1KB  |  39 lines

  1. #!/bin/sh
  2. # set -x
  3. #
  4. cd $ULTRA_PACK_HOME/Caldera/Cameleo
  5. #
  6. CAMELEODIR=`pwd`
  7. #
  8. PATH=$CAMELEODIR/bin:$PATH
  9. #
  10. LD_LIBRARY_PATH=/opt/SUNWdxlib/lib/dxlib/SunOS5.x:/usr/dt/lib:$CAMELEODIR/lib/X11:/opt/SUNWits/Graphics-sw/xil/lib:/usr/openwin/lib:/usr/lib:$LD_LIBRARY_PATH
  11. #
  12. XUSERFILESEARCHPATH=$CAMELEODIR/lib/X11/app-defaults/%N
  13. XAPPLRESDIR=$CAMELEODIR/lib/X11/app-defaults
  14. HOME=/tmp
  15. export LD_LIBRARY_PATH XUSERFILESEARCHPATH CAMELEODIR PATH HOME XAPPLRESDIR
  16. #
  17. cd $CAMELEODIR
  18. cp $CAMELEODIR/lib/.CAS.config /tmp/.CAS.config
  19. cp $CAMELEODIR/.CONFIG.OTHER /tmp/.CONFIG
  20. cp ../IMAGES/start /tmp/img.0000.0
  21. #
  22. ln -s `pwd`/GENERAL/DATA/FOTOTUNE/Tags /tmp/ColorTags
  23. ln -s `pwd`/GENERAL/DATA/FOTOTUNE/References /tmp/ColorReferences
  24. ln -s `pwd`/GENERAL/DATA/FOTOTUNE/Links /tmp/ColorLinks
  25. ln -s `pwd`/GENERAL/DATA/FOTOTUNE/Setup /tmp/ColorSetup
  26. #
  27. chmod 666 /tmp/.CONFIG
  28. chmod 666 /tmp/img.0000.0
  29. #
  30. /opt/SUNWdxlib/bin/dxlib $CAMELEODIR/bin/cameleo
  31. #
  32. # Cleanup
  33. rm /tmp/Color[A-Z]* 
  34. rm /tmp/.CONFIG 
  35. rm /tmp/.CAS.config* 
  36. rm /tmp/CASTMP/* 
  37. rm /tmp/img.0000.0
  38. rmdir /tmp/CASTMP
  39.